CFLAGS=-Wall -Werror -I/home/Xiezongyi/libevent/include -I../include

LDFLAGS=-L/home/Xiezongyi/libevent/lib -L/home/Xiezongyi/apue/lib

LIBS=-levent -levent_openssl -lssl -lcrypto -lsqlite3

CC=gcc

all:
	${CC} *.c -o client ${CFLAGS} ${LIBS} ${LDFLAGS}

run:
	./client -i 127.0.0.1 -p 9999 -t 5 

uninstall:
	rm -rf client temperature.db
